package com.springboot.mybatis.module.common;

public class ResponMsgDTO {
    private Integer status;
    private String msg;
    
    
    public static final ResponMsgDTO TOKEN_WORONG = new ResponMsgDTO(401, "token无效或已过期");
    public static final ResponMsgDTO TRUE = new ResponMsgDTO(200, "OK");
    
    public ResponMsgDTO(){
        
    }
    public ResponMsgDTO(Integer status, String msg){
        this.status = status;
        this.msg = msg;
    }
    
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    
    
}
